package co.edu.usbcali.unidad.dataaccess.dao;

import co.edu.usbcali.unidad.modelo.Rubro;

import java.math.BigDecimal;

import java.util.Date;
import java.util.List;
import java.util.Set;

/**
 * Interface for RubroDAO.
 * 
 * @author Zathura Code Generator http://code.google.com/p/zathura
 * 
 */
public interface IRubroDAO {
	public void save(Rubro instance);

	public void delete(Rubro instance);

	public void update(Rubro instance);

	public Rubro findById(String id);

	public List<Rubro> findByExample(Rubro instance);

	public List<Rubro> findByProperty(String propertyName, Object value);

	public List<Rubro> findAll();

	public List<Rubro> findByCriteria(String whereCondition);

	public List<Rubro> findPageRubro(String sortColumnName,
			boolean sortAscending, int startRow, int maxResults);

	public Long findTotalNumberRubro();

	public List<Rubro> findByRubCodigo(Object rubCodigo);

	public List<Rubro> findByRubNombre(Object rubNombre);
}
